package cn.shopping.dao.members;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.shopping.pojo.Au_user;
import cn.shopping.pojo.hat_area;
import cn.shopping.pojo.hat_caty;
import cn.shopping.pojo.hat_province;
import cn.shopping.pojo.hat_total;

public interface membersMapper {

    public List<hat_province> selprovince();
    public List<hat_caty> selcity(@Param("num")String num);
    public List<hat_area> selarea(@Param("num")String num);
    public int addmembers(Au_user user);
    public int addtotal(hat_total totle);
    public int seltotlemax();
    public int deltotle(@Param("hat_id")int hat_id);
    public List<Au_user> selalluser(@Param("idcode") String idcode,@Param("memName") String memName);
    public int delofuser(@Param("userId") Integer userId);
    public Au_user selserbyid(@Param("userId") Integer userId);
    public int modifytotal(hat_total total);
    public int modifyusersByid(Au_user user);
}
